package com.xunqi.permission.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * (SysUser)实体类
 *
 * @author makejava
 * @since 2020-02-12 18:14:54
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "SysUser",description = "用户提示类")
public class SysUser implements Serializable {
    private static final long serialVersionUID = -39975618638001723L;
    /**
    * 用户id
    */
    @ApiModelProperty("用户id")
    private Integer id;
    /**
    * 用户名称
    */
    @ApiModelProperty("用户名称")
    private String username;
    /**
    * 手机号
    */
    @ApiModelProperty("手机号")
    private String telephone;
    /**
    * 邮箱
    */
    @ApiModelProperty("邮箱")
    private String mail;
    /**
    * 加密后的密码
    */
    @ApiModelProperty("加密后的密码")
    private String password;
    /**
    * 用户所在部门的id
    */
    @ApiModelProperty("用户所在部门的id")
    private Integer deptId;
    /**
    * 状态，1：正常，0：冻结状态，2：删除
    */
    @ApiModelProperty("状态")
    private Integer status;
    /**
    * 备注
    */
    @ApiModelProperty("备注")
    private String remark;
    /**
    * 操作者
    */
    @ApiModelProperty("操作者")
    private String operator;
    /**
    * 最后一次更新时间
    */
    @ApiModelProperty("最后一次更新时间")
    private Date operateTime;
    /**
    * 最后一次更新者的ip地址
    */
    @ApiModelProperty("最后一次更新者的ip地址")
    private String operateIp;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public String getOperateIp() {
        return operateIp;
    }

    public void setOperateIp(String operateIp) {
        this.operateIp = operateIp;
    }

}